package com.desire.interceptor;

import feign.RequestInterceptor;
import feign.RequestTemplate;



/**
 * @Description:
 * @Author: littleDesire
 * @Date: 2022-06-08 20:32
 * @Version: 1.0
 */
public class FeignAuthInterceptor implements RequestInterceptor {
    @Override
    public void apply(RequestTemplate requestTemplate) {
        requestTemplate.header("x-token", "asdflaksjdflahs");
    }
}
